package com.ruoyi.combat.service.apprisk.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.combat.mapper.apprisk.YuequanbMapper;
import com.ruoyi.combat.domain.apprisk.Yuequanb;
import com.ruoyi.combat.service.apprisk.IYuequanbService;

/**
 * 越权bService业务层处理
 * 
 * @author ruoyi
 * @date 2025-02-26
 */
@Service
public class YuequanbServiceImpl implements IYuequanbService 
{
    @Autowired
    private YuequanbMapper yuequanbMapper;

    /**
     * 查询越权b
     * 
     * @param FromAppID 越权b主键
     * @return 越权b
     */
    @Override
    public Yuequanb selectYuequanbByFromAppID(Long FromAppID)
    {
        return yuequanbMapper.selectYuequanbByFromAppID(FromAppID);
    }

    /**
     * 查询越权b列表
     * 
     * @param yuequanb 越权b
     * @return 越权b
     */
    @Override
    public List<Yuequanb> selectYuequanbList(Yuequanb yuequanb)
    {
        return yuequanbMapper.selectYuequanbList(yuequanb);
    }

    /**
     * 新增越权b
     * 
     * @param yuequanb 越权b
     * @return 结果
     */
    @Override
    public int insertYuequanb(Yuequanb yuequanb)
    {
        return yuequanbMapper.insertYuequanb(yuequanb);
    }

    /**
     * 修改越权b
     * 
     * @param yuequanb 越权b
     * @return 结果
     */
    @Override
    public int updateYuequanb(Yuequanb yuequanb)
    {
        return yuequanbMapper.updateYuequanb(yuequanb);
    }

    /**
     * 批量删除越权b
     * 
     * @param FromAppIDs 需要删除的越权b主键
     * @return 结果
     */
    @Override
    public int deleteYuequanbByFromAppIDs(Long[] FromAppIDs)
    {
        return yuequanbMapper.deleteYuequanbByFromAppIDs(FromAppIDs);
    }

    /**
     * 删除越权b信息
     * 
     * @param FromAppID 越权b主键
     * @return 结果
     */
    @Override
    public int deleteYuequanbByFromAppID(Long FromAppID)
    {
        return yuequanbMapper.deleteYuequanbByFromAppID(FromAppID);
    }

    /**
     * 执行存储过程
     */
    @Override
    public void callAAAYuequanb() {
        yuequanbMapper.callAAAYuequanb();
    }
}
